import service from '@/utils/request'

const ServerBtnApi = {
  listServerBtn:function(data){
    return service.get('serverBtn/page', {params:data})
  },
  addServerBtn:function(data){
      return service.post('serverBtn', data)
  },
  editServerBtn:function(data){
      return service.put('serverBtn', data)
  },
  deleteServerBtn:function(data){
      return service.put('serverBtn/delete', data)
  },
  getServerBtnInfo(data){
      return service.get('serverBtn', {params:data})
  },
  serverBtnList:function(data){
    return service.get('serverBtn/listIdName', {params:data})
  },
}

export default ServerBtnApi
